<?php

namespace App\Models;

use App\Library\Models\Entity;
use App\Library\Traits\Orm\ShopFeedbackOrmTrait;

class ShopFeedbackModel extends Entity
{
    use ShopFeedbackOrmTrait;

    protected $table = 'shop_feedback';
    
    protected $primaryKey = 'fb_id';
    
    protected $casts = ['file_ids' => 'json'];

    protected $fillable = [
        'fb_id',
        'serial_number',
        'user_id',
        'fb_type',
        'fb_source_id',
        'status',
        'fb_content',
        'fb_mobile',
        'img_id_json',
        'operate_id',
        'ok_reason',
        'fail_reason',
        'file_ids',
        'created_at',
        'updated_at'
    ];
}
